package com.cyx.exercise.ollama;

/**
 * Ollama聊天消息对象
 */
public class OllamaChatMessage {
    private String role;
    private String content;
    
    public OllamaChatMessage() {}
    
    public OllamaChatMessage(String role, String content) {
        this.role = role;
        this.content = content;
    }
    
    public String getRole() {
        return role;
    }
    
    public void setRole(String role) {
        this.role = role;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    @Override
    public String toString() {
        return "OllamaChatMessage{" +
                "role='" + role + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
